while true
do
    top -a | head -4 | tail -1
    sleep 1
done
